/*
 |--------------------------------------------------------------------------
 |  app主入口
 |--------------------------------------------------------------------------
 |  The Vue build version to load with the `import` command
 |  (runtime-only or standalone) has been set in webpack.base.conf with an alias.
 */

import 'utils/flexible.js'
// import 'style/jrReset.styl'
// import 'babel-polyfill'
import router from './router'
console.log('%c gc_router=>: ','color: MidnightBlue; background: Aquamarine; font-size: 20px;',router);
// import store from './store'
import http from './api'
// import Element from 'element-ui'
import 'packages/index.less'
// import './1.less'
// import './1.scss'
// import cp from './components'
import {install as JYD} from 'packages'
import mix from './mixin/mixin'
import Vue from 'vue'
import FastClick from 'fastclick'
import App from './App'
// import 'element-ui/lib/theme-chalk/index.css';
// import {
//   log,
//   loading,
//   vProgress
// } from 'common/js/log';
Vue.use(JYD);
Vue.prototype.$http = http
// Vue.use(Element);
// Vue.use(cp)
// Vue.mixin(mix);
// Vue.use(cp);

Vue.config.productionTip = false;
// window.log = log
// window.loading = new loading()
// window.vProgress = new  vProgress()
// import MiniRefreshTools from "components/upRefresh/minirefresh.js" // 上拉加载插件
FastClick.attach(document.body);
document.body.addEventListener('touchstart', function () {}, false);
new Vue({
  data: {
    title: ''
  },
  router,
  el: '#app',
  // store,
  render: h => h(App),
})
